Release 10.1A: OpenEdge Development:
.NET Open Clients


Namespace for proxy objects

All .NET Open Client proxy objects can be defined within a namespace specified on the .NET tab of the Generate dialog box. A namespace is an organizational unit for classes or types. All Open Client proxy objects are defined in this namespace. If no namespace is specified, the objects are defined in the global namespace. Progress Software Corporation recommends that you specify a namespace, to help ensure the uniqueness of your proxy objects.

For example, if the namespace specified in ProxyGen is Acme, and an AppObject named Account is defined, ProxyGen generates the following .NET class:

Acme.Account 

Strongly typed proxy classes for ADO.NET DataTables and DataSets always are defined within the namespace StrongTypesNS. The namespace is prepended with any namespace specified on the .NET tab of the Generate dialog box in ProxyGen. For example, if a static temp-table named OrderTT is defined in a procedure added to the Account AppObject, ProxyGen generates the following .NET class for the temp table:

Acme.StrongTypesNS.OrderTT 

Note that the StrongTypesNS namespace is prepended with the Acme namespace specified in ProxyGen, making the namespace Acme.StrongTypesNS.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095